//
//  Pusher.h
//  CapPush
//
//  Created by 李加建 on 2022/6/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Pusher : NSObject

@property(nonatomic , strong)NSString * registrationID;

/// <#Description#>
+ (void)registerForRemoteNotifications;

/// <#Description#>
/// @param deviceToken <#deviceToken description#>
+ (void)registerDeviceToken:(NSData *)deviceToken;

/// <#Description#>
/// @param option <#option description#>
/// @param appKey <#appKey description#>
/// @param channel <#channel description#>
/// @param isProduction <#isProduction description#>
+ (void)setupWithOption:(nullable NSDictionary *)option appKey:(NSString *)appKey channel:(NSString *)channel apsForProduction:(BOOL)isProduction;

/// <#Description#>
/// @param remoteInfo <#remoteInfo description#>
+ (void)handleRemoteNotification:(NSDictionary *)remoteInfo;

/// <#Description#>
/// @param complete <#complete description#>
+ (void)registrationIDComplete:(void(^)(NSString *registrationID))complete;


@end

NS_ASSUME_NONNULL_END
